package api.homework02;

public class ObjectDemo {
    public static void main(String[] args) {
        Point point = new Point();
        point.setX(100);
        point.setY(200);
        System.out.println(point);

        Point point1 = new Point();
        point1.setX(100);
        point1.setY(200);
        System.out.println(point == point1);
        System.out.println(point1.equals(point));


    }
}
